{% extends "base.html" %}
 {% block body %}
 <div class="container">
    <h2>编辑图书</h2>
    <form method="post">
        {{ form.hidden_tag() }}
        <p>
            {{ form.title.label }}<br>
            {{ form.title(size=32) }}
        </p>
        <p>
            {{ form.author.label }}<br>
            {{ form.author(size=32) }}
        </p>
        <p>
            {{ form.available.label }}<br>
            {{ form.available() }}
               p>
        <p>{{ form.submit() }} </p>
    </form>
 </div>
 {% endblock %}